]> dgit.raspbian.org Git - gnome-shell.git/commit
Revert "workspacesView: Work around spurious allocation changes"
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 12 Mar 2020 12:43:07 +0000 (13:43 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 23 Jun 2020 19:05:05 +0000 (19:05 +0000)
commite4db68a1da4288d4ceb2c8d0f3cbc524db02f7b5
tree5a97dd9c9b0f896b8d1cdf59ac4c8b01448a3876
parent980a90f8fbab0efb2f9ef2f1a2f40e8639663ad1
Revert "workspacesView: Work around spurious allocation changes"

We now found the underlying bug: The ControlsManager (which causes the
bad call to `_updateWorkspacesFullGeometry()`) is getting (re-)allocated
while we add the view to the overviewGroup actor because the
overviewGroup is already visible and the view is immediately getting
mapped by `clutter_actor_add_child_internal()`. That causes a
resource-scale calculation and that indirectly causes a call to
`_clutter_stage_maybe_relayout()` (explained more detailed in the last
commit).

So now that we got rid of the immediate relayout happening when mapping
the view, we can revert this fix.

This reverts commit 6cc19ee6f05102baef39b8a1bec73eff06699879.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1315
js/ui/workspacesView.js